<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title></title>
    <style type="text/css">
        * {
            padding: 0px;
            margin: 0px;
        }
        
        html,
        body {
            width: 100%;
            height: 100%;
        }
        
        #box {
            width: 100%;
            height: 100%;
            background-color: #000000;
            opacity: 0.5;
            position: relative;
        }
        
        #box-cvn {
            width: 500px;
            height: 300px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: white;
        }
        
        h1 {
            margin-top: 120px;
            margin-left: 180px;
        }
        
        button {
            width: 100px;
            height: 40px;
            text-align: center;
            line-height: 40px;
            font-size: 20px;
            border: 0px solid red;
        }
        
        .yes {
            background-color: red;
            color: white;
            margin-top: 108px;
            margin-left: 290px;
        }
        
        .no {
            background-color: greenyellow;
            color: white;
        }
    </style>
</head>

<body>
    <div id="box">
        <div id="box-cvn">
            <h1>支付:<span class="zhifu"></span>元</h1>
            <button type="button" class="yes">确定</button>
            <button type="button" class="no">取消</button>
        </div>
    </div>
</body>

</html>
<script src="./nodejs/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
    //获取本地结算的钱
    let nuewmoney = localStorage.getItem("oneb");
    $(".zhifu").html(nuewmoney);
    $(".yes").click(function() {
        location.href = "http://192.168.50.142/MIDO/success.html";
    })
    $(".no").click(function() {
        location.href = "http://192.168.50.142/MIDO/bigimg.html"
    })
</script>